﻿namespace EyeOpen.TimeAssistant.Domain
{
    using System;
    using System.Collections.Generic;
    using EyeOpen.Domain;

    public class UserStory : OwnedHistoryEntity<UserStory>
    {
        public UserStory() 
        {
            UserStoryTaskList = new List<UserStoryTask>();
            UserStoryTagList = new List<UserStoryTag>();
        }

        public virtual byte Priority
        {
            get; 
            set;
        }

        public virtual string Name
        {
            get;
            set;
        }

        public virtual int Effort
        {
            get;
            set;
        }

        public virtual Meta Meta
        {
            get;
            set;
        }

        public virtual IEnumerable<UserStoryTask> UserStoryTaskList
        {
            get;
            private set;
        }

        public virtual IEnumerable<UserStoryTag> UserStoryTagList
        {
            get;
            private set;
        }
    }
}